﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Xml.Linq;

/// <summary>
/// Summary description for UserUI
/// </summary>
public class UserUI
{	
	private int userID;
	public int UserID
	{
		get { return userID;}
		set { userID = value;}
	}

	private String userName;
	public String UserName
	{
		get { return userName;}
		set { userName = value;}
	}

	private String email;
	public String Email
	{
		get { return email;}
		set { email = value;}
	}

	private DateTime birthday;
	public DateTime Birthday
	{
		get { return birthday;}
		set { birthday = value;}
	}

	private String firstName;
	public String FirstName
	{
		get { return firstName;}
		set { firstName = value;}
	}

	private String lastName;
	public String LastName
	{
		get { return lastName;}
		set { lastName = value;}
	}

	private byte sex;
	public byte Sex
	{
		get { return sex;}
		set { sex = value;}
	}

	private String mobile;
	public String Mobile
	{
		get { return mobile;}
		set { mobile = value;}
	}

	private String address;
	public String Address
	{
		get { return address;}
		set { address = value;}
	}

	private DateTime regDate;
	public DateTime RegDate
	{
		get { return regDate;}
		set { regDate = value;}
	}

	private String password;
	public String Password
	{
		get { return password;}
		set { password = value;}
	}

	private bool isActive;
	public bool IsActive
	{
		get { return isActive;}
		set { isActive = value;}
	}

	private String activeCode;
	public String ActiveCode
	{
		get { return activeCode;}
		set { activeCode = value;}
	}

	private DateTime activeDate;
	public DateTime ActiveDate
	{
		get { return activeDate;}
		set { activeDate = value;}
	}

	private DateTime lastLogin;
	public DateTime LastLogin
	{
		get { return lastLogin;}
		set { lastLogin = value;}
	}
	
	private byte userType;
	public byte UserType
	{
		get { return userType;}
		set { userType = value;}
	}

	private DateTime expireDate;
	public DateTime ExpireDate
	{
		get { return expireDate;}
		set { expireDate = value;}
	}

	public UserUI() {}

	public UserUI(int userID, String userName, String email, DateTime birthday, String firstName, String lastName, byte sex, String mobile, String address, DateTime regDate, String password, bool isActive, String activeCode, DateTime activeDate, DateTime lastLogin, byte userType, DateTime expireDate)
	 {
		this.userID = userID;
 		this.userName = userName;
 		this.email = email;
 		this.birthday = birthday;
 		this.firstName = firstName;
 		this.lastName = lastName;
 		this.sex = sex;
 		this.mobile = mobile;
 		this.address = address;
 		this.regDate = regDate;
 		this.password = password;
 		this.isActive = isActive;
 		this.activeCode = activeCode;
 		this.activeDate = activeDate;
 		this.lastLogin = lastLogin; 		
 		this.userType = userType;
 		this.expireDate = expireDate;
 	}       
}
